#root {
  width: 100%;
  margin: 0 auto;
  padding: 1rem;
  text-align: center;
}

.app {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.whiteboard-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

.color-picker {
  margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
  #root {
    padding: 0.5rem;
  }

  h1 {
    font-size: 1.5em;
    margin: 0.5em 0;
  }
}

.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
  filter: drop-shadow(0 0 2em #61dafbaa);
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
  }
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}
